import {defineConfig as viteDefineConfig} from 'vite'
import loadVitePlugins from './src/vite/plugins/index'
import { resolve } from 'path';
import { URL, fileURLToPath } from 'node:url'

export default viteDefineConfig({
    plugins:loadVitePlugins(),
    resolve: {
        alias: {
          // "@":resolve(__dirname,"src"),
          '@': fileURLToPath(new URL('./src', import.meta.url)),
        //   '@comps': fileURLToPath(new URL('./src/components', import.meta.url)),
        //   "@images": resolve(__dirname, "src/assets/images"),
        }
      },
})